package com.buybuyyi.stylistcrm.resource.goods.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.po.GoodsYardage;

public interface GoodsYardageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GoodsYardage record);

    int insertSelective(GoodsYardage record);

    GoodsYardage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsYardage record);

    int updateByPrimaryKey(GoodsYardage record);
    
    int deleteGoodsYardage(Long goodsId);
    
    List<GoodsYardage> getGoodsYardageByGoodId(GoodsYardage goodYardage);
}